package cn.ncupyh.soft;

public class Resume {

//    属性
    private String name;
    private int age;
    private String sex;


//    无参构造
    public Resume() { }

//    快捷键:alt + insert

//    有参构造
    public Resume(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    //set&get
    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public String getName() {
        return name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

}
